import java.util.Scanner;

public class demo1 {
    public static void Judgment1(int array[]){
        Scanner scan = new Scanner(System.in);
        for (int i=0;i<3-1;i++){
            for (int j=i+1;j<3;j++){
                if (array[i]==array[j]){
                    System.out.println("你输入的学号有错误，已有人使用此学号，请重新输入学号");
                    array[j] = scan.nextInt();
                }
            }
        }
    }
}
